﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.ywxt.ProjectOpening
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    using DB_NH.DB_Model.ywxt.ProjectOpening;

    public class ProjectOpen_qdb_print_Map : EntityMapping<ProjectOpen_qdb_print>
    {
        public ProjectOpen_qdb_print_Map()
        {
            //打印区域
            Property(x => x.PrintArea, map =>
            {
                map.Length(50);
            });

            //打印份数
            Property(x => x.PrintCount, map =>
            {
                
            });

            //签到记录
            ManyToOne(x => x.qdRecord, map =>
            {
                map.Column("qd_id");
            });
        }
    }
}
